1. NodeBox 1
    1. Homepage
    2. NodeBox 3Node-based app for generative design and data visualization
    3. NodeBox OpenGLHardware-accelerated cross-platform graphics library
    4. NodeBox 1Generate 2D visuals using Python code (Mac OS X only)
  2. Gallery
  3. Documentation
  4. Forum
  5. Blog

Reference | Transform


Syntax
Transform()

DescriptionA personal transformation state you can use to apply translation, rotation, scaling and skewing to a path before drawing it.
Methods
t.translate(x=0, y=0)
t.rotate(degrees=0, radians=0)
t.scale(x=1, y=None)
t.skew(x=0, y=0)
t.invert()
t.append(t)
t.prepend(t)
t.transformPoint(point)
t.transformBezierPath(path)
t.copy()

See the tutorial on paths to learn more about the methods.

The transformBezierPath() method returns a new path with the defined transformations applied to it.